package com.example.design.patterns.冰河.结构型模式.适配器模式;

import com.example.design.patterns.冰河.结构型模式.适配器模式.adaptee.Adaptee;
import com.example.design.patterns.冰河.结构型模式.适配器模式.adapter.Adapter;
import com.example.design.patterns.冰河.结构型模式.适配器模式.target.Target;

/**
 * 与符合Target接口的对象协同
 */
public class Test {
    public static void main(String[] args) {
        Target target = new Adapter(new Adaptee());
        target.adapteeMethod();
        target.adapterMethod();
    }
}
